<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    const myObj = {name: 'John', age: 30, occupation: 'Developer'}
    console.log(myObj,111,Object.entries(myObj));
    for (const [key, value] of Object.entries(myObj)) {
  console.log(value);
}
  </script>
</body>
</html>